package com.macro.mall.dao.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.pms.PmsProductCategoryAttributeRelationDO;
import com.macro.mall.model.pms.PmsProductCategoryAttributeRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PmsProductCategoryAttributeRelationMapper extends BaseMapper<PmsProductCategoryAttributeRelationDO> {
    long countByExample(PmsProductCategoryAttributeRelationQuery example);

    int deleteByExample(PmsProductCategoryAttributeRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsProductCategoryAttributeRelationDO record);

    int insertSelective(PmsProductCategoryAttributeRelationDO record);

    List<PmsProductCategoryAttributeRelationDO> selectByExample(PmsProductCategoryAttributeRelationQuery example);

    PmsProductCategoryAttributeRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelationDO record, @Param("example") PmsProductCategoryAttributeRelationQuery example);

    int updateByExample(@Param("record") PmsProductCategoryAttributeRelationDO record, @Param("example") PmsProductCategoryAttributeRelationQuery example);

    int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelationDO record);

    int updateByPrimaryKey(PmsProductCategoryAttributeRelationDO record);
}
